VERSION 5.00
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form frmHistorialXunidad 
   BackColor       =   &H80000013&
   BorderStyle     =   5  'Sizable ToolWindow
   Caption         =   "Historial por Unidad de Ventas"
   ClientHeight    =   2130
   ClientLeft      =   45
   ClientTop       =   315
   ClientWidth     =   3945
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2130
   ScaleWidth      =   3945
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton CmdSalir 
      BackColor       =   &H00E0E0E0&
      Caption         =   "&Salir"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   6.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   3000
      Picture         =   "frmHistorialXunidad.frx":0000
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   1320
      Width           =   735
   End
   Begin VB.CommandButton cmdImprimir 
      BackColor       =   &H00E0E0E0&
      Caption         =   "Imprimir"
      Height          =   615
      Left            =   2040
      Picture         =   "frmHistorialXunidad.frx":058A
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   1320
      Width           =   855
   End
   Begin MSDataListLib.DataCombo cboCodigoUnidad 
      Bindings        =   "frmHistorialXunidad.frx":0894
      Height          =   288
      Left            =   120
      TabIndex        =   0
      Top             =   720
      Width           =   3612
      _ExtentX        =   6376
      _ExtentY        =   556
      _Version        =   393216
      BackColor       =   16777215
      ListField       =   "vNombre_UnidadVenta"
      BoundColumn     =   "codigo_Unidad_de_Venta"
      Text            =   ""
      Object.DataMember      =   "plaCUnidades_de_Venta"
   End
   Begin VB.Label Label12 
      BackStyle       =   0  'Transparent
      Caption         =   "Unidad de Venta"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   255
      Left            =   240
      TabIndex        =   3
      Top             =   360
      Width           =   1935
   End
End
Attribute VB_Name = "frmHistorialXunidad"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdImprimir_Click()
    RutaReportes = DE.rsGENCParametros.Fields("RUTA_REPORTES")
    MDI.reporte.StoredProcParam(0) = cboCodigoUnidad.BoundText
    Imprimir RutaReportes & "HistorialVentasCaidasxUnidad.rpt", "", "", "", ""
End Sub

Private Sub cmdSalir_Click()
    Unload Me
End Sub

Private Sub Form_Load()
 Left = Screen.Width / 2 - Width / 2
    Top = (Screen.Height / 2 - Height / 2) - 800
    LimpiarObjetos Me
  '  Me.Picture = LoadResPicture(104, 0)
End Sub
